﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Application
{
    /// <summary>
    /// 通过传过来的图片Id，获取Name，IMG
    /// </summary>
    public class TaskImageDto
    {
        /// <summary>
        /// 图片Id
        /// </summary>
        public long  Id { get; set; }
        /// <summary>
        /// 图片的类别名
        /// </summary>
        [MaxLength(10)]
        public string Name { get; set; }
        /// <summary>
        /// 图片的储存地址
        /// </summary>
        [MaxLength(100)]
        public string IMG { get; set; }
    }
}
